import request from '@/utils/request'
// 获取删人记录列表
export function getDelList(data?: any) {
  return request({
    url: '/scrm-api/console/work/del-cust-list',
    // url: 'https://console-mock.apipost.cn/app/mock/project/79ea3b05-05f2-4f42-b40d-3d7f56281f27/scrm-api/console/work/del/list',
    method: 'POST',
    data
  })
}
// 获取配置提醒
export function getConfigAlert() {
  return request({
    url: '/scrm-api/console/work/del/info-alert',
    method: 'GET'
  })
}
// 设置提醒配置
export function setAlert(data: any) {
  return request({
    url: '/scrm-api/console/work/del/update-alert',
    method: 'POST',
    data
  })
}
// 分配及批量分配
export function batchAllots(data: any) {
  return request({
    url: '/scrm-api/console/work/del/assign',
    method: 'POST',
    data
  })
}
// 批量导出
export function batchExcl(data: any) {
  return request({
    url: '/scrm-api/console/work/del/export-del-list',
    method: 'POST',
    data
  })
}
// 提醒员工
export function remindStaff(data: any) {
  return request({
    url: '/scrm-api/console/work/del/remind',
    method: 'GET',
    params: data
  })
}
